//
//  TDL_PickerDate.h
//  TDL_CYMSManager
//
//  Created by zhangkunjiu on 16/7/22.
//  Copyright © 2016年 TDL. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TDLPickerView.h"

NS_ASSUME_NONNULL_BEGIN
@class TDL_PickerDate;

@protocol TDL_PickerDateDelegate <NSObject>
- (void)pickerDate:(TDL_PickerDate *)pickerDate year:(NSInteger)year month:(NSInteger)month day:(NSInteger)day;
@end

@interface TDL_PickerDate : TDLPickerView
/** 1.最小的年份，default is 1900 */
@property (nonatomic, assign)NSInteger yearLeast;
/** 2.显示年份数量，default is 200 */
@property (nonatomic, assign)NSInteger yearSum;
/** 3.中间选择框的高度，default is 28*/
@property (nonatomic, assign)CGFloat heightPickerComponent;

@property(nonatomic, weak)id <TDL_PickerDateDelegate>delegate ;


@end
NS_ASSUME_NONNULL_END